using System;
using System.IO;
using System.Text;
using UnityEditor;
using UnityEngine;

public static class CreateVersion
{
    [MenuItem("DHF/CreateVersionFile")]
    public static void CreateVersionFile()
    {
        var f = File.Create(Application.streamingAssetsPath + "/Version.txt");
        string v = "0.0.1";
        f.Write(Encoding.UTF8.GetBytes(v).AsSpan());
    }
}
